home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
graphvew
/
gifbla20.arj
/
SOURCE
/
GB11CODE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-15
|
882b
|
32 lines
/* gb11code.h - Include file for special purpose GIF compressor routines
(version 1.1). */
#ifndef P_DEFINED
#define P_DEFINED
#ifdef NOPROTOS
#define P(a,b) b
#else
#define P(a,b) a
#endif
#endif
typedef struct {
ARCON_BIG_CONTEXT ac_order_0_con;
ARCON_SMALL_CONTEXT *ac_order_1_cons;
ARCON_TYPE_CONTEXT ac_type_con;
int prev;
ARITH_CODER ac_struct;
} GB11_CODER;
extern int copy_if_larger;
extern GB11_CODER *gb11_alloc_coder();
extern void gb11_free_coder P((GB11_CODER *gb11),());
extern int gb11_start_encoding P((GB11_CODER *gb11, FFILE *ff),());
extern int gb11_encode_c P((int c, GB11_CODER *gb11),());
extern int gb11_end_encoding P((GB11_CODER *gb11),());
extern int gb11_start_decoding P((GB11_CODER *gb11, FFILE *ff),());
extern int gb11_decode_c P((GB11_CODER *gb11),());
extern int gb11_end_decoding P((GB11_CODER *gb11),());